﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Shpm.System.Db;
using Shpm.App.Input.Bean;
using System.Collections;

/// <summary>
/// Summary description for WirelessDao
/// </summary>
namespace Shpm.App.Input.Dao
{
    public class WirelessDao : ShpmBaseDao
    {
        // 写入无线报警数据
        public const string INS_WIRELESS = "Wireless.InsWireless";

        public const string FIND_WIRELESS = "Wireless.LstWireless";

        public const string FIND_WIRELESS_HIS = "Wireless.LstWirelessHis";

        public WirelessDao()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        /*
       *名称： InsWireless
       *功能： 写入无线报警列表对象。
       *参数： paramBean - 检索参数
       *返回：  
       *说明： 将传入的参数写入列表
      */
        public object InsWireless(WirelessBean paramBean)
        {
            return base.Insert(INS_WIRELESS, paramBean);
        }

        /*
       *名称： InsWireless
       *功能： 写入无线报警列表对象。
       *参数： paramBean - 检索参数
       *返回：  
       *说明： 将传入的参数写入列表
      */
        public IList FindWireless(WirelessBean paramBean)
        {
            return base.QueryForList(FIND_WIRELESS, paramBean);
        }

        internal IList FindWirelessHis(WirelessBean paramBean)
        {
            return base.QueryForList(FIND_WIRELESS_HIS, paramBean);
        }
    }
}